package com.pzh.guli.service.edu.feign;

import com.pzh.guli.service.base.result.Result;
import com.pzh.guli.service.edu.feign.fallback.OssFileServiceFallBackService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Service
@FeignClient(value = "server-oss",fallback = OssFileServiceFallBackService.class)
public interface OssFileService {
    @DeleteMapping("/admin/oss/file/remove")
    Result removeFileByString(@RequestBody String url);
}
